/**
 * Created by CK on 2016/7/26.
 */
$(document).ready(function(){
    var list = $('#List');
    list.initDataGrid(baseUrl + 'User/getDgData', {"queryParams": {"iUserType": 7}});
    $(window.top.document).find('#bt_modal_confirm').click(function(){
        var serverIds = list.getDataGridSelectedFields('iUserId');
        window.top.xhTop.getActiveFrame().chooseServer(serverIds);
        //window.top.frames['iframe'].chooseServer(serverIds);
        //$(window.top.document).find('.modal-header .close').click();
    });
});